package com.yuyou.fn.electronicinvoice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 *
 */
@TableName(value = "record_temp_invoice")
public class RecordTempInvoice implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<RecordTempInvoice> createExample(){
		return new Example<RecordTempInvoice>(RecordTempInvoice.class);
	}

	/**  */
	@TableId(value = "record_temp_invoice_id")
	private Long recordTempInvoiceId;

	/**  */
	@TableField(value = "object_id")
	private Long objectId;

	/**  */
	@TableField(value = "object_type")
	private String objectType;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 0未用，1已用 */
	private Integer status;

	/** 1正票，2红票 */
	@TableField(value = "invoice_type")
	private Integer invoiceType;

	public Long getRecordTempInvoiceId() {
		return this.recordTempInvoiceId;
	}

	public void setRecordTempInvoiceId(Long recordTempInvoiceId) {
		this.recordTempInvoiceId = recordTempInvoiceId;
	}

	public Long getObjectId() {
		return this.objectId;
	}

	public void setObjectId(Long objectId) {
		this.objectId = objectId;
	}

	public String getObjectType() {
		return this.objectType;
	}

	public void setObjectType(String objectType) {
		this.objectType = objectType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getInvoiceType() {
		return this.invoiceType;
	}

	public void setInvoiceType(Integer invoiceType) {
		this.invoiceType = invoiceType;
	}

}
